3.3.84 \(\int x^3 \sqrt {a+b x} \, dx\) [284]

Optimal. Leaf size=72 \[ -\frac {2 a^3 (a+b x)^{3/2}}{3 b^4}+\frac {6 a^2 (a+b x)^{5/2}}{5 b^4}-\frac {6 a (a+b x)^{7/2}}{7 b^4}+\frac {2 (a+b x)^{9/2}}{9 b^4} \]

[Out]

-2/3*a^3*(b*x+a)^(3/2)/b^4+6/5*a^2*(b*x+a)^(5/2)/b^4-6/7*a*(b*x+a)^(7/2)/b^4+2/9*(b*x+a)^(9/2)/b^4

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 72, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {45} \begin {gather*} -\frac {2 a^3 (a+b x)^{3/2}}{3 b^4}+\frac {6 a^2 (a+b x)^{5/2}}{5 b^4}+\frac {2 (a+b x)^{9/2}}{9 b^4}-\frac {6 a (a+b x)^{7/2}}{7 b^4} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^3*Sqrt[a + b*x],x]

[Out]

(-2*a^3*(a + b*x)^(3/2))/(3*b^4) + (6*a^2*(a + b*x)^(5/2))/(5*b^4) - (6*a*(a + b*x)^(7/2))/(7*b^4) + (2*(a + b
*x)^(9/2))/(9*b^4)

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rubi steps

\begin {align*} \int x^3 \sqrt {a+b x} \, dx &=\int \left (-\frac {a^3 \sqrt {a+b x}}{b^3}+\frac {3 a^2 (a+b x)^{3/2}}{b^3}-\frac {3 a (a+b x)^{5/2}}{b^3}+\frac {(a+b x)^{7/2}}{b^3}\right ) \, dx\\ &=-\frac {2 a^3 (a+b x)^{3/2}}{3 b^4}+\frac {6 a^2 (a+b x)^{5/2}}{5 b^4}-\frac {6 a (a+b x)^{7/2}}{7 b^4}+\frac {2 (a+b x)^{9/2}}{9 b^4}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.05, size = 46, normalized size = 0.64 \begin {gather*} \frac {2 (a+b x)^{3/2} \left (-16 a^3+24 a^2 b x-30 a b^2 x^2+35 b^3 x^3\right )}{315 b^4} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^3*Sqrt[a + b*x],x]

[Out]

(2*(a + b*x)^(3/2)*(-16*a^3 + 24*a^2*b*x - 30*a*b^2*x^2 + 35*b^3*x^3))/(315*b^4)

________________________________________________________________________________________

Mathics [B] Leaf count is larger than twice the leaf count of optimal. \(338\) vs. \(2(72)=144\).
time = 16.10, size = 316, normalized size = 4.39 \begin {gather*} \frac {2 \sqrt {a} \left (16 a^{10} \left (1-\sqrt {\frac {a+b x}{a}}\right )+8 a^9 b x \left (12-11 \sqrt {\frac {a+b x}{a}}\right )+6 a^8 b^2 x^2 \left (40-33 \sqrt {\frac {a+b x}{a}}\right )+a^7 b^3 x^3 \left (320-231 \sqrt {\frac {a+b x}{a}}\right )-105 a^6 b^4 x^4 \sqrt {\frac {a+b x}{a}}+240 a^6 b^4 x^4+189 a^4 b^5 x^5 \left (a+3 b x\right ) \sqrt {\frac {a+b x}{a}}+96 a^5 b^5 x^5+16 a^4 b^6 x^6+9 a^2 b^7 x^7 \left (83 a+61 b x\right ) \sqrt {\frac {a+b x}{a}}+215 a b^9 x^9 \sqrt {\frac {a+b x}{a}}+35 b^{10} x^{10} \sqrt {\frac {a+b x}{a}}\right )}{315 b^4 \left (a^6+6 a^5 b x+15 a^4 b^2 x^2+20 a^3 b^3 x^3+15 a^2 b^4 x^4+6 a b^5 x^5+b^6 x^6\right )} \end {gather*}

Warning: Unable to verify antiderivative.

[In]

mathics('Integrate[x^3*Sqrt[a + b*x],x]')

[Out]

2 Sqrt[a] (16 a ^ 10 (1 - Sqrt[(a + b x) / a]) + 8 a ^ 9 b x (12 - 11 Sqrt[(a + b x) / a]) + 6 a ^ 8 b ^ 2 x ^
 2 (40 - 33 Sqrt[(a + b x) / a]) + a ^ 7 b ^ 3 x ^ 3 (320 - 231 Sqrt[(a + b x) / a]) - 105 a ^ 6 b ^ 4 x ^ 4 S
qrt[(a + b x) / a] + 240 a ^ 6 b ^ 4 x ^ 4 + 189 a ^ 4 b ^ 5 x ^ 5 (a + 3 b x) Sqrt[(a + b x) / a] + 96 a ^ 5
b ^ 5 x ^ 5 + 16 a ^ 4 b ^ 6 x ^ 6 + 9 a ^ 2 b ^ 7 x ^ 7 (83 a + 61 b x) Sqrt[(a + b x) / a] + 215 a b ^ 9 x ^
 9 Sqrt[(a + b x) / a] + 35 b ^ 10 x ^ 10 Sqrt[(a + b x) / a]) / (315 b ^ 4 (a ^ 6 + 6 a ^ 5 b x + 15 a ^ 4 b
^ 2 x ^ 2 + 20 a ^ 3 b ^ 3 x ^ 3 + 15 a ^ 2 b ^ 4 x ^ 4 + 6 a b ^ 5 x ^ 5 + b ^ 6 x ^ 6))

________________________________________________________________________________________

Maple [A]
time = 0.10, size = 50, normalized size = 0.69

method result size
gosper \(-\frac {2 \left (b x +a \right )^{\frac {3}{2}} \left (-35 b^{3} x^{3}+30 a \,b^{2} x^{2}-24 a^{2} b x +16 a^{3}\right )}{315 b^{4}}\) \(43\)
derivativedivides \(\frac {\frac {2 \left (b x +a \right )^{\frac {9}{2}}}{9}-\frac {6 a \left (b x +a \right )^{\frac {7}{2}}}{7}+\frac {6 a^{2} \left (b x +a \right )^{\frac {5}{2}}}{5}-\frac {2 a^{3} \left (b x +a \right )^{\frac {3}{2}}}{3}}{b^{4}}\) \(50\)
default \(\frac {\frac {2 \left (b x +a \right )^{\frac {9}{2}}}{9}-\frac {6 a \left (b x +a \right )^{\frac {7}{2}}}{7}+\frac {6 a^{2} \left (b x +a \right )^{\frac {5}{2}}}{5}-\frac {2 a^{3} \left (b x +a \right )^{\frac {3}{2}}}{3}}{b^{4}}\) \(50\)
trager \(-\frac {2 \left (-35 b^{4} x^{4}-5 a \,b^{3} x^{3}+6 a^{2} b^{2} x^{2}-8 a^{3} b x +16 a^{4}\right ) \sqrt {b x +a}}{315 b^{4}}\) \(54\)
risch \(-\frac {2 \left (-35 b^{4} x^{4}-5 a \,b^{3} x^{3}+6 a^{2} b^{2} x^{2}-8 a^{3} b x +16 a^{4}\right ) \sqrt {b x +a}}{315 b^{4}}\) \(54\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3*(b*x+a)^(1/2),x,method=_RETURNVERBOSE)

[Out]

2/b^4*(1/9*(b*x+a)^(9/2)-3/7*a*(b*x+a)^(7/2)+3/5*a^2*(b*x+a)^(5/2)-1/3*a^3*(b*x+a)^(3/2))

________________________________________________________________________________________

Maxima [A]
time = 0.29, size = 56, normalized size = 0.78 \begin {gather*} \frac {2 \, {\left (b x + a\right )}^{\frac {9}{2}}}{9 \, b^{4}} - \frac {6 \, {\left (b x + a\right )}^{\frac {7}{2}} a}{7 \, b^{4}} + \frac {6 \, {\left (b x + a\right )}^{\frac {5}{2}} a^{2}}{5 \, b^{4}} - \frac {2 \, {\left (b x + a\right )}^{\frac {3}{2}} a^{3}}{3 \, b^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(b*x+a)^(1/2),x, algorithm="maxima")

[Out]

2/9*(b*x + a)^(9/2)/b^4 - 6/7*(b*x + a)^(7/2)*a/b^4 + 6/5*(b*x + a)^(5/2)*a^2/b^4 - 2/3*(b*x + a)^(3/2)*a^3/b^
4

________________________________________________________________________________________

Fricas [A]
time = 0.31, size = 53, normalized size = 0.74 \begin {gather*} \frac {2 \, {\left (35 \, b^{4} x^{4} + 5 \, a b^{3} x^{3} - 6 \, a^{2} b^{2} x^{2} + 8 \, a^{3} b x - 16 \, a^{4}\right )} \sqrt {b x + a}}{315 \, b^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(b*x+a)^(1/2),x, algorithm="fricas")

[Out]

2/315*(35*b^4*x^4 + 5*a*b^3*x^3 - 6*a^2*b^2*x^2 + 8*a^3*b*x - 16*a^4)*sqrt(b*x + a)/b^4

________________________________________________________________________________________

Sympy [B] Leaf count of result is larger than twice the leaf count of optimal. 1742 vs. \(2 (68) = 136\).
time = 1.27, size = 1742, normalized size = 24.19

result too large to display

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**3*(b*x+a)**(1/2),x)

[Out]

-32*a**(49/2)*sqrt(1 + b*x/a)/(315*a**20*b**4 + 1890*a**19*b**5*x + 4725*a**18*b**6*x**2 + 6300*a**17*b**7*x**
3 + 4725*a**16*b**8*x**4 + 1890*a**15*b**9*x**5 + 315*a**14*b**10*x**6) + 32*a**(49/2)/(315*a**20*b**4 + 1890*
a**19*b**5*x + 4725*a**18*b**6*x**2 + 6300*a**17*b**7*x**3 + 4725*a**16*b**8*x**4 + 1890*a**15*b**9*x**5 + 315
*a**14*b**10*x**6) - 176*a**(47/2)*b*x*sqrt(1 + b*x/a)/(315*a**20*b**4 + 1890*a**19*b**5*x + 4725*a**18*b**6*x
**2 + 6300*a**17*b**7*x**3 + 4725*a**16*b**8*x**4 + 1890*a**15*b**9*x**5 + 315*a**14*b**10*x**6) + 192*a**(47/
2)*b*x/(315*a**20*b**4 + 1890*a**19*b**5*x + 4725*a**18*b**6*x**2 + 6300*a**17*b**7*x**3 + 4725*a**16*b**8*x**
4 + 1890*a**15*b**9*x**5 + 315*a**14*b**10*x**6) - 396*a**(45/2)*b**2*x**2*sqrt(1 + b*x/a)/(315*a**20*b**4 + 1
890*a**19*b**5*x + 4725*a**18*b**6*x**2 + 6300*a**17*b**7*x**3 + 4725*a**16*b**8*x**4 + 1890*a**15*b**9*x**5 +
 315*a**14*b**10*x**6) + 480*a**(45/2)*b**2*x**2/(315*a**20*b**4 + 1890*a**19*b**5*x + 4725*a**18*b**6*x**2 +
6300*a**17*b**7*x**3 + 4725*a**16*b**8*x**4 + 1890*a**15*b**9*x**5 + 315*a**14*b**10*x**6) - 462*a**(43/2)*b**
3*x**3*sqrt(1 + b*x/a)/(315*a**20*b**4 + 1890*a**19*b**5*x + 4725*a**18*b**6*x**2 + 6300*a**17*b**7*x**3 + 472
5*a**16*b**8*x**4 + 1890*a**15*b**9*x**5 + 315*a**14*b**10*x**6) + 640*a**(43/2)*b**3*x**3/(315*a**20*b**4 + 1
890*a**19*b**5*x + 4725*a**18*b**6*x**2 + 6300*a**17*b**7*x**3 + 4725*a**16*b**8*x**4 + 1890*a**15*b**9*x**5 +
 315*a**14*b**10*x**6) - 210*a**(41/2)*b**4*x**4*sqrt(1 + b*x/a)/(315*a**20*b**4 + 1890*a**19*b**5*x + 4725*a*
*18*b**6*x**2 + 6300*a**17*b**7*x**3 + 4725*a**16*b**8*x**4 + 1890*a**15*b**9*x**5 + 315*a**14*b**10*x**6) + 4
80*a**(41/2)*b**4*x**4/(315*a**20*b**4 + 1890*a**19*b**5*x + 4725*a**18*b**6*x**2 + 6300*a**17*b**7*x**3 + 472
5*a**16*b**8*x**4 + 1890*a**15*b**9*x**5 + 315*a**14*b**10*x**6) + 378*a**(39/2)*b**5*x**5*sqrt(1 + b*x/a)/(31
5*a**20*b**4 + 1890*a**19*b**5*x + 4725*a**18*b**6*x**2 + 6300*a**17*b**7*x**3 + 4725*a**16*b**8*x**4 + 1890*a
**15*b**9*x**5 + 315*a**14*b**10*x**6) + 192*a**(39/2)*b**5*x**5/(315*a**20*b**4 + 1890*a**19*b**5*x + 4725*a*
*18*b**6*x**2 + 6300*a**17*b**7*x**3 + 4725*a**16*b**8*x**4 + 1890*a**15*b**9*x**5 + 315*a**14*b**10*x**6) + 1
134*a**(37/2)*b**6*x**6*sqrt(1 + b*x/a)/(315*a**20*b**4 + 1890*a**19*b**5*x + 4725*a**18*b**6*x**2 + 6300*a**1
7*b**7*x**3 + 4725*a**16*b**8*x**4 + 1890*a**15*b**9*x**5 + 315*a**14*b**10*x**6) + 32*a**(37/2)*b**6*x**6/(31
5*a**20*b**4 + 1890*a**19*b**5*x + 4725*a**18*b**6*x**2 + 6300*a**17*b**7*x**3 + 4725*a**16*b**8*x**4 + 1890*a
**15*b**9*x**5 + 315*a**14*b**10*x**6) + 1494*a**(35/2)*b**7*x**7*sqrt(1 + b*x/a)/(315*a**20*b**4 + 1890*a**19
*b**5*x + 4725*a**18*b**6*x**2 + 6300*a**17*b**7*x**3 + 4725*a**16*b**8*x**4 + 1890*a**15*b**9*x**5 + 315*a**1
4*b**10*x**6) + 1098*a**(33/2)*b**8*x**8*sqrt(1 + b*x/a)/(315*a**20*b**4 + 1890*a**19*b**5*x + 4725*a**18*b**6
*x**2 + 6300*a**17*b**7*x**3 + 4725*a**16*b**8*x**4 + 1890*a**15*b**9*x**5 + 315*a**14*b**10*x**6) + 430*a**(3
1/2)*b**9*x**9*sqrt(1 + b*x/a)/(315*a**20*b**4 + 1890*a**19*b**5*x + 4725*a**18*b**6*x**2 + 6300*a**17*b**7*x*
*3 + 4725*a**16*b**8*x**4 + 1890*a**15*b**9*x**5 + 315*a**14*b**10*x**6) + 70*a**(29/2)*b**10*x**10*sqrt(1 + b
*x/a)/(315*a**20*b**4 + 1890*a**19*b**5*x + 4725*a**18*b**6*x**2 + 6300*a**17*b**7*x**3 + 4725*a**16*b**8*x**4
 + 1890*a**15*b**9*x**5 + 315*a**14*b**10*x**6)

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 116 vs. \(2 (56) = 112\).
time = 0.00, size = 192, normalized size = 2.67 \begin {gather*} \frac {\frac {2 b \left (\frac {1}{9} \sqrt {a+b x} \left (a+b x\right )^{4}-\frac {4}{7} \sqrt {a+b x} \left (a+b x\right )^{3} a+\frac {6}{5} \sqrt {a+b x} \left (a+b x\right )^{2} a^{2}-\frac {4}{3} \sqrt {a+b x} \left (a+b x\right ) a^{3}+\sqrt {a+b x} a^{4}\right )}{b^{4}}+\frac {2 a \left (\frac {1}{7} \sqrt {a+b x} \left (a+b x\right )^{3}-\frac {3}{5} \sqrt {a+b x} \left (a+b x\right )^{2} a+\sqrt {a+b x} \left (a+b x\right ) a^{2}-\sqrt {a+b x} a^{3}\right )}{b^{3}}}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3*(b*x+a)^(1/2),x)

[Out]

2/315*(9*(5*(b*x + a)^(7/2) - 21*(b*x + a)^(5/2)*a + 35*(b*x + a)^(3/2)*a^2 - 35*sqrt(b*x + a)*a^3)*a/b^3 + (3
5*(b*x + a)^(9/2) - 180*(b*x + a)^(7/2)*a + 378*(b*x + a)^(5/2)*a^2 - 420*(b*x + a)^(3/2)*a^3 + 315*sqrt(b*x +
 a)*a^4)/b^3)/b

________________________________________________________________________________________

Mupad [B]
time = 0.05, size = 56, normalized size = 0.78 \begin {gather*} \frac {2\,{\left (a+b\,x\right )}^{9/2}}{9\,b^4}-\frac {2\,a^3\,{\left (a+b\,x\right )}^{3/2}}{3\,b^4}+\frac {6\,a^2\,{\left (a+b\,x\right )}^{5/2}}{5\,b^4}-\frac {6\,a\,{\left (a+b\,x\right )}^{7/2}}{7\,b^4} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3*(a + b*x)^(1/2),x)

[Out]

(2*(a + b*x)^(9/2))/(9*b^4) - (2*a^3*(a + b*x)^(3/2))/(3*b^4) + (6*a^2*(a + b*x)^(5/2))/(5*b^4) - (6*a*(a + b*
x)^(7/2))/(7*b^4)

________________________________________________________________________________________